import { AV, request } from "./leanCloud";

// 修改个人信息
export function updateProfileInfo(data) {
  let user = AV.User.current();
  for (let key in data) {
    user.set(key, data[key]);
  }
  return user.save();
}
